<?php
require_once("./bm_header.php");
	$cache_time=10;
	$OJ_CACHE_SHARE=false;
	require_once('./include/cache_start.php');
	if(isset($_SESSION['user_id']))
	{
		$user_id = $_SESSION['user_id'];
		require_once("bm_footer.php");
		echo "<script language='javascript'>\n";
		echo "alert('用户".$user_id."已登录~~');\n";
		echo "window.location=\"$BM_HOME\"";			
			//echo "history.go(-1);\n";
		echo "</script>";
		exit(0);
		echo "<a href=\"$BM_HOME\">用户".$user_id."已登录!</a>";
		require_once("bm_footer.php");
		exit(1);
	}
$view_apc_info="";

if(function_exists('apc_cache_info')){
	 $_apc_cache_info = apc_cache_info(); 
		$view_apc_info =_apc_cache_info;
}

require_once("template/".$BM_TEMPLATE."/registerpage.php");
require_once("bm_footer.php");
if(file_exists('./include/cache_end.php'))
	require_once('./include/cache_end.php');
?>
